#include <iostream>
#include <cmath>
using namespace std;

int main()
{
    cout << "Enter weight in punds: ";
    float pounds;
    cin >> pounds;
    float kilograms = pounds * 0.45359237;

    cout << "Enter height in inches: ";    
    float inches;
    cin >> inches;
    float meters = inches * 0.0254;

    cout << "BMI is " << kilograms / pow(meters, 2) << endl;
}
